package com.smarthome.core.workingmonitor;

import java.util.List;

import com.smarthome.domain.bean.ShAccountLog;
import com.smarthome.domain.vo.boss.Combobox;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;

/**
 * 平台用户日志服务接口
 */
public interface AccountLogService {

    /**
     * 
     * @Title: dataGrid
     * @Description: TODO(查询平台用户日志列表)
     * @param accountLog
     * @param page
     * @return DataGrid
     * @throws
     * @author cyj
     */
    DataGrid dataGrid(ShAccountLog accountLog, PageHelper page);

    /**
     * 
     * @Title: typeCombobox
     * @Description: TODO(获取平台用户日志类型combobox)
     * @param flag 是否有请选择
     * @return List<Combobox>
     * @throws
     * @author cyj
     */
    List<Combobox> typeCombobox(boolean flag);

    /**
     * 记录用户操作日志
     * @param accountLog
     * @author KongXiangyu
     */
    void saveLog(ShAccountLog accountLog);
}
